TDLinkedListIterator< T > Class Template Reference

Iterator for doubly linked template list. More...

#include <tdlist.h>

Inheritance diagram for TDLinkedListIterator< T >:
Inheritance graph
[legend]

Public Member Functions

 TDLinkedListIterator (const TDLinkedList< T > &list)
virtual bool done () const
virtual T & next ()
virtual T & previous ()
virtual T & current () const
virtual void first ()
virtual void last ()
const TDLinkedList< T > & list () const
 Return list reference.

Detailed Description

template<class T>
class Steinberg::TDLinkedListIterator< T >

Iterator for doubly linked template list.

Implements the TIterator interface for TDLinkedList.

See also:
TDLinkedList

Constructor & Destructor Documentation

TDLinkedListIterator ( const TDLinkedList< T > &  list  )  [inline]

Member Function Documentation

bool done (  )  const [inline, virtual]

Check if end of container is reached.

Implements TIterator< T >.

T & next (  )  [inline, virtual]

Returns the current data and advances the iterator. postfix as in t = c++;.

Implements TIterator< T >.

T & previous (  )  [inline, virtual]

Returns the current data and backup. postfix as in t = c--;.

Implements TIterator< T >.

T & current (  )  const [inline, virtual]

Returns the current data.

Implements TIterator< T >.

void first (  )  [inline, virtual]

Move to first data.

Implements TIterator< T >.

void last (  )  [inline, virtual]

Move to last data.

Implements TIterator< T >.

const TDLinkedList< T > & list (  )  const [inline]

Return list reference.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.